package com.demo;

import java.util.LinkedList;

public class LinkedListTest {

	public static void main(String[] args) {

		LinkedList<String> list=new LinkedList<>();
		list.add("11");
		list.add("22");
		list.add("33");
		System.out.println(list.size());
		String string = list.removeFirst();
		System.out.println(string);
		System.out.println(list.size());
		list.addLast("444");
		System.out.println(list);
	}

}
